projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ce999
)
tegra: nand: disable subpage writes
author
Marcel Ziswiler
<
[email protected]
>
Wed, 5 Aug 2015 22:47:13 +0000
(
00:47
+0200)
committer
Tom Warren
<
[email protected]
>
Thu, 13 Aug 2015 20:06:03 +0000
(13:06 -0700)
Disable subpage writes as we do not provide ecc->hwctl.
Signed-off-by: Marcel Ziswiler <
[email protected]
>
Acked-by: Scott Wood <
[email protected]
>
Signed-off-by: Tom Warren <
[email protected]
>
drivers/mtd/nand/tegra_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/tegra_nand.c
b/drivers/mtd/nand/tegra_nand.c
index 723d0ecad718929fae56e3896552e96115e4e493..debad4f791f97ee81c172b243f14d204a07b666d 100644
(file)
--- a/
drivers/mtd/nand/tegra_nand.c
+++ b/
drivers/mtd/nand/tegra_nand.c
@@
-964,6
+964,9
@@
int tegra_nand_init(struct nand_chip *nand, int devnum)
nand->dev_ready = nand_dev_ready;
nand->priv = &nand_ctrl;
+ /* Disable subpage writes as we do not provide ecc->hwctl */
+ nand->options |= NAND_NO_SUBPAGE_WRITE;
+
/* Adjust controller clock rate */
clock_start_periph_pll(PERIPH_ID_NDFLASH, CLOCK_ID_PERIPH, 52000000);